package com.example.simplecardtenantbank.repository;

import com.example.simplecardtenantbank.dataobject.TCard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TCardRepository {
    @Select("select * from t_card where userId=#{userId}")
    public List<TCard> findByUserId(String userId);
}
